/******************************************************************
 * Filename:httpsrv.c
 * Description:http server  Entry function
 * Version:V_1.0	Sept-27-2019
 * Copyright:HISOME <www.hisome.com.>
 * Author:Gaoy
 * EMail:gaoy@hisome.com
 ******************************************************************/
#include <strings.h>
#include "common/common.h"
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include <unistd.h>
#include "network/tcpSrv.h"


int main(int argc ,char *argv[]){
    int port=1554;
    PRTLOG("Start Onvif Server_Port:%d",port);
    int serve_fd=creatTcpSocket(port);
    if(serve_fd <0){
        PRTLOG("Crate TcpServer Socket Fail");
    }else{
        selectLoop(serve_fd);     
    }

    return 0;
}

